package com.vue.designPatterns.factory;

/**
 * Created by Administrator on 2019/3/14.
 */
public class FactoryTest {

    public static void main(String[] args) {
        /*SendFactory sendFactory = new SendFactory();
        Sender sender = sendFactory.product("sms");
        sender.Send();*/

        Sender sender = SendFactory.produceMail();

        sender.Send();


    }

}
